package com.hutao.chargingpile.pitfall.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 隐患办理表
 * </p>
 *
 * @author HuTao
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CpHiddenDeal对象", description="隐患办理表")
public class CpHiddenDeal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "隐患办理id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联隐患表")
    private Long hiddenId;

    @ApiModelProperty(value = "办理说明")
    private String explain;

    @ApiModelProperty(value = "现场图片")
    private String sceneImg;

    @ApiModelProperty(value = "其他附件")
    private String otherImg;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "0未删除1已删除")
    @TableLogic
    private Long isDeleted;


}
